package com.cjl.learn.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by Enzo Cotter on 2019-07-10.
 */
@Component
@ConfigurationProperties(prefix = "person")
public class Person {

        private String lastName;
        private Integer age;
        private Boolean boss;
        private Date birth;

        private Map<String,Object> maps;
        private List<Object> lists;
        private Dog dog;

        public static void main(String[] args) {
                int i =1;
                i=i++;
                System.out.println(i);
        }

}
